#ifndef __TERRAINHEIGHTDATACMD_H__
#define __TERRAINHEIGHTDATACMD_H__

#include <stl/map.h>
#include <stl/list.h>
#include "command.h"


struct STerrainHeightCMDInfo{
    int32 m_nX;
    int32 m_nY;
    float m_fOriginHeight;
    float m_fNewHeight;
};
class CTerrainHeightCmd: public CCommand{
public:
    CTerrainHeightCmd( map<uint32, float> *pTerrainCellHeightInfoList );
    virtual ~CTerrainHeightCmd();
    virtual void Init();
	virtual void Final();
    virtual bool32 Redo();
    virtual bool32 Undo();

private:
    list< STerrainHeightCMDInfo > m_vTerrainCellHeightInfoList;

};

#endif

